class Circle:

    def __init__(self, r):
        self.r = r

    def get_area(self):
        return 3.14 * pow(self.r, 2)

    def get_perimeter(self):
        return 2 * 3.14 * self.r


r = eval(input('please input r:'))
c = Circle(r)
area = c.get_area()
perimeter = c.get_perimeter()

print(area)
print(perimeter)
